package com.cheng.example.book.advise151.chap4;


/**
 * 正确使用String、StringBuffer、StringBuilder
 */
public class Client54 {


    public static void main(String[] args) {
//        String  str = "abc";
//        String str1 = str.substring(0);
//        System.out.println(str==str1);


        StringBuffer sb = new StringBuffer("a");
        sb.append("b");



        String s = "a";
        s = s + "b";
    }
}
